home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / libraries / filehandler.h < prev    next >
C/C++ Source or Header  |  1989-11-09  |  1KB  |  69 lines

  1. #ifndef    LIBRARIES_FILEHANDLER_H
  2. #define    LIBRARIES_FILEHANDLER_H
  3. #ifndef    EXEC_TYPES_H
  4. #include    "exec/types.h"
  5. #endif    /* !EXEC_TYPES_H */
  6. #ifndef    EXEC_PORTS_H
  7. #include    "exec/ports.h"
  8. #endif    /* !EXEC_PORTS_H */
  9. #ifndef    LIBRARIES_DOS_H
  10. #include    "libraries/dos.h"
  11. #endif    /* !LIBRARIES_DOS_H */
  12. struct    DosEnvec    {
  13. ULONG    de_TableSize;
  14. ULONG    de_SizeBlock;
  15. ULONG    de_SecOrg;
  16. ULONG    de_Surfaces;
  17. ULONG    de_SectorPerBlock;
  18. ULONG    de_BlocksPerTrack;
  19. ULONG    de_Reserved;
  20. ULONG    de_PreAlloc;
  21. ULONG    de_Interleave;
  22. ULONG    de_LowCyl;
  23. ULONG    de_HighCyl;
  24. ULONG    de_NumBuffers;
  25. ULONG    de_BufMemType;
  26. ULONG    de_MaxTransfer;
  27. ULONG    de_Mask;
  28. LONG    de_BootPri;
  29. ULONG    de_DosType;
  30. };
  31. #define    DE_TABLESIZE    0L
  32. #define    DE_SIZEBLOCK    1L
  33. #define    DE_SECORG    2L
  34. #define    DE_NUMHEADS    3L
  35. #define    DE_SECSPERBLK    4L
  36. #define    DE_BLKSPERTRACK    5L
  37. #define    DE_RESERVEDBLKS    6L
  38. #define    DE_PREFAC    7L
  39. #define    DE_INTERLEAVE    8L
  40. #define    DE_LOWCYL    9L
  41. #define    DE_UPPERCYL    10L
  42. #define    DE_NUMBUFFERS    11L
  43. #define    DE_MEMBUFTYPE    12L
  44. #define    DE_BUFMEMTYPE    12L
  45. #define    DE_MAXTRANSFER    13L
  46. #define    DE_MASK    14L
  47. #define    DE_BOOTPRI    15L
  48. #define    DE_DOSTYPE    16L
  49. struct    FileSysStartupMsg    {
  50. ULONG    fssm_Unit;
  51. BSTR    fssm_Device;
  52. BPTR    fssm_Environ;
  53. ULONG    fssm_Flags;
  54. };
  55. struct    DeviceNode    {
  56. BPTR    dn_Next;
  57. ULONG    dn_Type;
  58. struct    MsgPort    *dn_Task;
  59. BPTR    dn_Lock;
  60. BSTR    dn_Handler;
  61. ULONG    dn_StackSize;
  62. LONG    dn_Priority;
  63. BPTR    dn_Startup;
  64. BPTR    dn_SegList;
  65. BPTR    dn_GlobalVec;
  66. BSTR    dn_Name;
  67. };
  68. #endif
  69.